<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>百度糯米购物信息导航</title>
		<style type="text/css">
			div{position: relative;
				height: 40%;width: 100%;
			}
			#num2,#num3,#num4,#num5{
				z-index: 2;
				background: #5B5B5B no-repeat ;
				padding: 5px;
			}
			#num2{
				position:fixed;
				right: 10px;top:200px;
			}
			#num3{
				position:fixed;
				right: 10px;top:230px;
			}
			#num4{
				position:fixed;
				right: 10px;top:260px;
			}
			#num5{
				position:fixed;
				right: 10px;top:290px;
			}
			#for2,#for3,#for4,#for5{color: white;font-size: 12px;
				width: 80px;height: 8px;
				background-color: #CE0000;
				padding: 10px;
				text-align:center;vertical-align: middle;
				z-index: 3;
			}
			#for2{
				position:fixed;
				right: 20px;top:200px;
				opacity: 0;
			}
			#for3{
				position:fixed;
				right: 20px;top:230px;
				opacity: 0;
			}
			#for4{
				position:fixed;
				right: 20px;top:260px;
				opacity: 0;
			}
			#for5{
				position:fixed;
				right: 20px;top:290px;
				opacity: 0;
			}
			
			 @-webkit-keyframes 'baidu' {
        
        from{ opacity: 0.1;
             transform: translate(0px);
        }
        /*20%{ transform: translate(-15px);opacity: 0.2;
          }
        40% {opacity: 0.4;
              transform: translate(-30px);
        }
        50%{  opacity: 0.5;
        	transform: translate(-45px);
           }
        60% {opacity: 0.6;
            transform: translate(-60px);
        }
        */
        to{opacity: 1;
            transform: translate(-90px);
        }
        }
        
        #num2:hover,#num3:hover,#num4:hover,#num5:hover{
        	background-color: #CE0000 ;}
        #for2:hover,#for3:hover,#for4:hover,#for5:hover{
        	
     -webkit-animation-name:'baidu';/*动画属性名，也就是我们前面keyframes定义的动画名*/
     -webkit-animation-duration: 2s;/*动画持续时间*/
     -webkit-animation-timing-function: linear; /*动画频率，和transition-timing-function是一样的*/
     -webkit-animation-delay: 0s;/*动画延迟时间*/
     -webkit-animation-iteration-count: 10;/*定义循环资料，infinite为无限次*/
     -webkit-animation-direction: alternate;/*定义动画方式
        	
        }
	   
		</style>
	</head>
	<body>
		<div>
			
			<img id="num2" src="img/toolbar_05.png" />
			<img id="num3" src="img/toolbar_10.png" />
			<img id="num4" src="img/toolbar_15.png" />
			<img id="num5" src="img/toolbar_19.png" />
			<img id="num1" src="img/img.bmp" />
            <div id="for2">购物车</div>
			<div id="for3">我的关注</div>
            <div id="for4">我的足迹</div>
            <div id="for5">我的消息</div>

			
			
			
			
		</div>
		
		
	</body>
</html>
